package com.pshcp.mapper;

import com.pshcp.domain.model.Doctor;
import com.pshcp.common.config.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 医生信息表 Mapper 接口
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
public interface DoctorMapper extends MyMapper<Doctor> {

    /**
     * 自增在线咨询单量
     * @param id
     */
    void updateOnlineNumById(Long id);

    /**
     * 医生介绍列表
     * @param params
     * @return
     */
    List<Doctor> doctorIntroList(Map<String, Object> params);

}
